package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.UserDto;
import com.zzyl.vo.UserVo;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {

    UserVo addUser(UserDto userDto);

    void updateUser(UserDto userDto);

    void isEnable(Long id, String status);

    List<UserVo> list(UserDto userDto);

    PageResponse<UserVo> findUserPage(UserDto userDto, int pageNum, int pageSize);

    void deleteById(Long userId);

    void resetPasswords(Long userId);

}
